﻿
namespace AhCha.Fortunate.ModelsDto.DaMeng.ApiRequestLog
{
    public class ApiRequestLogInput
    {
        public long Id { get; set; }
    }

    public class AddApiRequestLogInpput
    {

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ControllerName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ActionName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Param { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Ip { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Method { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Host { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Path { get; set; }

    }

    public class QueryApiRequestLogInpput : PageInputBase
    {

        /// <summary>
        /// Controller名称或Action名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartQueryTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndQueryTime { get; set; }
    }
}
